﻿using System;
using FootSteps.Data;

namespace FootSteps.Domain.Loggers.Window
{
    public class OpenWindowArgs
    {
        public OpenWindowTitle OpenWindow { get; private set; }
        public DateTime Time { get; private set; }
        public WindowState State { get; private set; }

        public OpenWindowArgs(OpenWindowTitle openWindow, DateTime time, WindowState state)
        {
            OpenWindow = openWindow;
            Time = time;
            State = state;

        }

        public override string ToString()
        {
            return string.Format("[at {0}]: (Window {1}) -> {2}", Time, State, OpenWindow);
        }
    }

    
}